package com.work.framework.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author fengyao
 * @version 1.0
 * @date 2019/9/19 0019 下午 4:39
 */
public class GoodsAuctionDTO implements Serializable {

    //Goods信息
    private Integer gid;      //商品编号(主键)
    private String gname;     //商品名称
    private String gdescribe; //商品描述
    private Integer cityid;   //所属省编号（省表主键）
    private Integer countyId; //市编号（市表主键）
    private Integer cid;      //分类编号（分类表主键）
    private Integer uid;      //用户编号（用户表主键）
    private Integer enshrine;  //收藏数
    private Integer status;   //商品状态 0=审核中，默认;1=审核通过，待确定;2=公示期;3=拍卖;4=流拍;5=已出售

    //Auction信息
    private Integer aid;        //竞拍编号（主键）
    private BigDecimal cash;    //押金
    private BigDecimal price;   //价格
    private String created;     //创建时间
    private String start;       //开始时间
    private String stop;        //结束时间
    private Integer time;       //竞拍场次
    private Integer valid;      //流拍 0.流派无效 1.有效
    private BigDecimal upward;  //加价幅度

    private String url;      //图片地址
    private List<String> otherUrls; //其余图片

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getOtherUrls() {
        return otherUrls;
    }

    public void setOtherUrls(List<String> otherUrls) {
        this.otherUrls = otherUrls;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGdescribe() {
        return gdescribe;
    }

    public void setGdescribe(String gdescribe) {
        this.gdescribe = gdescribe;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getCountyId() {
        return countyId;
    }

    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getEnshrine() {
        return enshrine;
    }

    public void setEnshrine(Integer enshrine) {
        this.enshrine = enshrine;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getStop() {
        return stop;
    }

    public void setStop(String stop) {
        this.stop = stop;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public BigDecimal getUpward() {
        return upward;
    }

    public void setUpward(BigDecimal upward) {
        this.upward = upward;
    }

    @Override
    public String toString() {
        return "GoodsAuctionDTO{" +
                "gid=" + gid +
                ", gname='" + gname + '\'' +
                ", gdescribe='" + gdescribe + '\'' +
                ", cityid=" + cityid +
                ", countyId=" + countyId +
                ", cid=" + cid +
                ", uid=" + uid +
                ", enshrine=" + enshrine +
                ", status=" + status +
                ", aid=" + aid +
                ", cash=" + cash +
                ", price=" + price +
                ", created='" + created + '\'' +
                ", start='" + start + '\'' +
                ", stop='" + stop + '\'' +
                ", time=" + time +
                ", valid=" + valid +
                ", upward=" + upward +
                ", url='" + url + '\'' +
                ", otherUrls=" + otherUrls +
                '}';
    }
}
